package com.lantu.wisdom.dto;

import com.lantu.paycommon.utils.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Description:
 * @Author: syg
 * @Date: 2020/7/28 14:52
 */
@ApiModel(value = "添加用户DTO")
@Data
public class AddUserDTO {


    @ApiModelProperty(value = "open_id")
    @NotEmpty(message = "openId 不能为空")
    private String openId;

    @ApiModelProperty(value = "微信昵称")
    private String  name;

    @ApiModelProperty(value = "微信头像")
    private String head;


    @ApiModelProperty(value = "用户地址")
    private String address;

    @ApiModelProperty(value = "电话电话")
    private String phone;

    @ApiModelProperty(value = "性别 1:男 2女")
    private Integer sex;

    @ApiModelProperty(value = "邀请人userId")
    private String fromBy;


}
